package com.example.mymvvmdemo.models.add_article.entity;

public class ArticleCreateEntity {

    public int code;
    public String message;
    public DataDTO data;

    @Override
    public String toString() {
        return "ArticleCreateEntity{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        public String title;
        public String content;
        public String summary;
        public String status;
        public Object image;
        public int id;

        @Override
        public String toString() {
            return "DataDTO{" +
                    "title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", summary='" + summary + '\'' +
                    ", status='" + status + '\'' +
                    ", image=" + image +
                    ", id=" + id +
                    '}';
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getSummary() {
            return summary;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public Object getImage() {
            return image;
        }

        public void setImage(Object image) {
            this.image = image;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
}
